package com.hzya.frame.hr.organization.service;
import com.hzya.frame.utils.core.service.IBaseService;
import com.hzya.frame.hr.organization.entity.OrganizationEntity;
import com.hzya.frame.utils.core.tree.TreeNode;

import java.util.List;

/**
 * @description: 组织机构管理  service
 * @tableName:   hr_organization 
 * @entityName:  OrganizationEntity
 * @author: 	 gjh
 * @history:	 1.0
 */
public interface IOrganizationService extends IBaseService<OrganizationEntity,Long> {

    /***
     * 根据当前登陆人获取所在的公司的组织机构,返回treeNode
     * @return
     */
   List<TreeNode> listQueryCompanyOrganizationTreeNode();
    /* 获取子节点**/
    List<TreeNode>  listCreateSubOrganizationTree(OrganizationEntity entity);

}